/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package easyanimation;

import easyanimation.frame.MainWindow;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

/**
 *
 * @author Ngoc Tan
 */
public class EasyAnimation
{
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        SwingUtilities.invokeLater(new Runnable()
        {
            @Override
            public void run()
            {
                MainWindow.getInstance().setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);                
                //window.pack(); // pack size -> minimum
                MainWindow.getInstance().setVisible(true);
            }
        });
    }
}

